<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script type="module">
	import Promise from "./index.js";
	// then接收的成功与失败回调是异步执行的。
	const p = new Promise(function(resolve){
		resolve(100);
	});
	p.then(value=>{
		console.log("1-value",value);
	});
	console.log("2-over");
	
</script>
</html>